package epoch.game.core.server;

public interface IServer {

	public abstract void doCommand(ISession session, byte[] msgData);

	public abstract void sessionCreate(ISession session);

	public abstract void sessionOpened(ISession session);

	public abstract void sessionClosed(ISession session);

	public abstract void exceptionCaught(ISession session, Throwable throwable);

	public abstract void sessionIdle(ISession session, IdleStatus idleStatus);
	
	public abstract void messageSent(ISession session, Object msgObj);
}
